<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Magyarhangya admin<?php
if (isset($title))
    echo " | " . $title;
?></title>
        <!-- Favicon -->
        <link rel="icon" type="image/vnd.microsoft.icon" href="http://magyarhangya.hu/img/favicon/favicon.png"/>
        <link rel="shortcut icon" href="http://magyarhangya.hu/img/favicon/favicon.ico"/>
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url(); ?>admin_style/css/layout.css" />
        <link rel="stylesheet" href="<?php echo base_url() ?>admin_style/elfinder/elfinder.css" type="text/css" media="screen" title="no title" />
        <link type="text/css" href="<?php echo base_url(); ?>admin_style/css/demo_table_jui.css" rel="stylesheet"/>
        <script src="<?php echo base_url(); ?>admin_style/js/jquery.min.js" type="text/javascript" ></script>
        <script src="<?php echo base_url(); ?>admin_style/js/jquery-ui.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>admin_style/script/easyTooltip.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>admin_style/script/script.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>admin_style/script/colorpicker.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>admin_style/js/jquery.dataTables.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>admin_style/script/jquery-ui-timepicker-addon.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>admin_style/js/jquery.form.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url() ?>admin_style/elfinder/elfinder.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="<?php echo base_url() ?>admin_style/elfinder/elfinder.hu.js" type="text/javascript" charset="utf-8"></script>

    </head>
    <body>
        <div class="wrapper">
            <!-- HEADER START -->
            <div id="wrapHeader">
                <div class="container_16">
                    <div id="header">
                        <div id="branding" class="alpha grid_8">
                            <a href="<?php echo site_url('admin'); ?>">
                            <img src="<?php echo base_url(); ?>admin_style/assets/logo.png" height="140" alt="admin logo" />
                            </a>
                        </div>
                        <div id="topNav" class="omega grid_8">
                            <p>
                                Üdvözlünk, <strong><?php echo $userdata->display_name ?></strong>!
                            </p>
                            <ul>
                                <li>
                                    <a href="<?php echo site_url('admin/logout') ?>"> <span class="ui-icon ui-icon-power"></span>Kijelentkezés </a>
                                </li>
                                <li>
                                    <a href="<?php echo site_url("admin/users/edit_user/$userdata->user_id") ?>"> <span class="ui-icon ui-icon-person"></span>Saját adatok</a>
                                </li>
                            </ul>
                        </div>
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
